package com.service;

import com.domain.Student;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface StudentService {
    public List<Student> findAll();
    public List<Student> findAll(int page,int size);
    public void insert(Student student);
    public void update(Student student);
    public void delete(int id);
}
